#ifndef _EBN_CM_ENERGY_HIST_H_
#define _EBN_CM_ENERGY_HIST_H_

#include <vector>

using namespace std;

class CEbnCompetenceModule;

class CEbnCMEnergyHist
{
public:
    CEbnCMEnergyHist(CEbnCompetenceModule * cm);
    ~CEbnCMEnergyHist(void);

    void addEnergyHist(float energy);
    float getEnergyHist(int time);
    int getEnergyHistCount(void);

    bool isHostCompetenceModule(CEbnCompetenceModule * cm);

    CEbnCompetenceModule * mpCM;

    vector<float> mEnergyHist;
};

#endif
